package com.icetec.iceintel.utility;import android.os.Looper;import android.widget.Toast;import com.icetec.iceintel.framework.AppApplication;/** * Created by zhhyyspy on 2014/11/10. * 浮动提示中心，提供全局浮动提示 */public class ToastUtility {	private static AppApplication ctx = AppApplication			.getShareInstance();	public static void show(String text) {		Toast.makeText(ctx, text, Toast.LENGTH_SHORT).show();	}	public static void show(int res) {		Toast.makeText(ctx, ctx.getString(res), Toast.LENGTH_SHORT).show();	}    public static void showonthread(String text){        Looper.prepare();        Toast.makeText(ctx, text, Toast.LENGTH_SHORT).show();        Looper.loop();    }}